import { IUIContainerToolOptions, UIContainerTool } from 'babylon-lib/highly-coupled-component/gui-tool/ui-container-tool';
import * as Data from '../data/data';
import { RenderOrder } from 'babylon-lib/misc/render-order';


class MainStageUI extends UIContainerTool {

    protected initializeStyle(options: IUIContainerToolOptions): IUIContainerToolOptions {
        const style = super.initializeStyle(options);

        style.isProduction = Data.isProduction.value;
        style.tableTitles = [];
        style.selectedTitle = '';
        style.backRenderingId = RenderOrder.id(Data.orders.uiBack);
        style.frontRenderingId = RenderOrder.id(Data.orders.ui);
        style.topRenderingId = RenderOrder.id(Data.orders.uiFront);
        style.useOperationGuide = true;

        return style;
    }

}


export { MainStageUI };